#class decorators

[ follow ]
Medium
6 months ago
JavaScript

Using TypeScript Decorators in Practise

TypeScript introduces decorators in the 5.0 update, allowing developers to apply logic to classes and their properties, methods, or parameters at design time.
TypeScript decorators have extensive decoration capabilities, legacy support for parameter decoration, and robust type checking.
Decorators can be used to enhance or modify the behavior of classes, methods, properties, accessors, and parameters. [ more ]
[ Load more ]